﻿
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DriverManager.aspx.cs" Inherits="YhmOA.Integrated.Car.DriverManager" %>

<%@ Register Assembly="YhmOAWebControls" Namespace="YhmOA.WebControls" TagPrefix="YhmOA" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>司机管理</title>
    <link type="text/css" rel="Stylesheet" href="../../Styles/Common.css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.5.2.min.js"></script>
    <script type="text/javascript" src="../../Scripts/include.jquery.js"></script>
    <script type="text/javascript" src="../../Scripts/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="MainRound"><div class="MainRoundContent"><div class="MainRoundContentW">
    <div class="MainBody">
		        <div class="Navigation">
            综合行政 >> 车辆管理 >> 司机管理 
        </div>
        <div style="border: 1px solid #93BEE2; border-bottom: 0px; padding: 8px 0 8px 8px;">
            <table>
                <tr>
                <td><input class="Button" onclick="ShowDialog('DriverForm.aspx?mode=1','添加司机',785,500);" style="width:60px" type="text" value="添加" /></td>
                    <td><input class="Button" onclick="return RoleVerification('3','DeleteData();');" style="width:60px" type="text" value="删除" /></td>
                    <td>
                        <asp:TextBox ID="txt_Search" runat="server" notAjaxRender="notAjaxRender" CssClass="TextBoxSearch" onkeyup="Search();"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <div style="overflow:auto;">
        <asp:GridView ID="gvShow" runat="server" Width="1320px" EmptyDataText="暂无数据..." CssClass="Table">
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <input type="checkbox" id="allChecked" onclick="CheckedEvent('allChecked');" value="0" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <input  id="ItemChk" class="ItemChk" name="ItemChk" type="checkbox" value='<%# Eval("Id") %>' />
                    </ItemTemplate>
                    <ItemStyle Width="25px" CssClass="TdCenter"/>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate><a href="javascript:void(0);">操作</a></HeaderTemplate>
                    <ItemTemplate><a onclick="ShowDialog('DriverForm.aspx?mode=0&id=<%# Eval("Id") %>','查看司机信息',785,480);" href="javascript:void(0);">查看</a>
                    <a onclick="ShowDialog('DriverForm.aspx?mode=2&id=<%# Eval("Id") %>','修改司机信息',785,500);" href="javascript:void(0);">修改</a></ItemTemplate>
                    <ItemStyle Width="80px" CssClass="TdCenter"/>
                </asp:TemplateField>
                			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('RecordSN');" href="javascript:void(0);">档案编号</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("RecordSN")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('DrivingAge');" href="javascript:void(0);">驾龄</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("DrivingAge")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('DrivingLicenceNum');" href="javascript:void(0);">准驾证号 </a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("DrivingLicenceNum")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('DrivingLicenceType');" href="javascript:void(0);">准驾类型</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("DrivingLicenceType")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('LicenceDate');" href="javascript:void(0);">领证日期</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("LicenceDate")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('LicenceBeginDate');" href="javascript:void(0);">生效日期</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("LicenceBeginDate")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('LicenceEndDate');" href="javascript:void(0);">失效日期</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("LicenceEndDate")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('Name');" href="javascript:void(0);">姓名</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("Name")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('Address');" href="javascript:void(0);">住址</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("Address")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('TelNum');" href="javascript:void(0);">电话号码</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("TelNum")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 				 					 			<asp:TemplateField>
                    		<HeaderTemplate>
                        		<a onclick="Sort('PhoneNum');" href="javascript:void(0);">手机</a></HeaderTemplate>
                    		<ItemTemplate>
                        		<%#Eval("PhoneNum")%></ItemTemplate>
                        	<ItemStyle Width="120px"/>
                		</asp:TemplateField>
			 					 	            </Columns>
            <HeaderStyle CssClass="ThCenter"/>
        </asp:GridView></div>
        <YhmOA:Pager ID="gvShowPager" runat="server"/>
    </div>
    </div></div></div>
    </form>
</body>
</html>